import axios from 'axios';

const instance = axios.create({
    baseURL: 'https://api.github.com',
    timeout: 20000
})

instance.interceptors.response.use(response => {
    return response.data;
});

export default instance;

